<%-- 
    Document   : loginbody
    Created on : Apr 26, 2011, 7:26:36 PM
    Author     : sh
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
   <%@ page import="net.tanesha.recaptcha.ReCaptcha" %>
    <%@ page import="net.tanesha.recaptcha.ReCaptchaFactory" %>
<div id="page-body">



    <html:form method="post" action="/login.do">
<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>
	<div class="content">
		<h2>Login</h2>

		<fieldset class="fields1">

		<dl>
			<dt><label for="username">Username:</label></dt>
                        <dd><html:text property="username"></html:text></dd>
		</dl>
		<dl>
			<dt><label for="password">Password:</label></dt>
                        <dd><html:password property="pass"></html:password></dd>

		</dl>
<dl>
			  <%
          ReCaptcha c = ReCaptchaFactory.newReCaptcha("6LdNesQSAAAAAGeKdZkYMO3CWPZDErPTOP6qneTL", "6LdNesQSAAAAAEXUT7A-rvpKCtdLTqZVEoSuDx8d", false);
          out.print(c.createRecaptchaHtml(null, null));
        %>
      <h3>  <html:errors property="invalidCap" /></h3>

		</dl>

		


		<dl>
			<dt>&nbsp;</dt>
			<dd><input type="hidden" name="sid" value="95a61131a0e7a69fc8139fb0a3a10b87" />
<input type="hidden" name="redirect" value="index.php" />
<html:submit>login</html:submit></dd>
		</dl>
		<input type="hidden" name="redirect" value="./ucp.php?mode=login" />

		</fieldset>
	</div>
	<span class="corners-bottom"><span></span></span></div>
</div>




</html:form>

</div>
